import { post } from './app.api';
import config from '@/config/index';
let { apiUrl } = config;

export default class User {
  //登录接口
  async userLogin(params) {
    let url = `${apiUrl.userLogin}`;
    let result = await post(url, params);
    return result;
  }
}
